package com.hs.mobile.model;

import java.util.Date;
//import javax.xml.bind.annotation.XmlRootElement; // support for XML output

//@XmlRootElement(name="category") 
public class Category {
	private long id;
	private String name;
	private int status;
	private Date createTime;
	private long idIcon;
	
	/**
	 * @name Constructor
	 */
	public Category() {
		super();
	}
	
	/**
	 * @name Constructor
	 * @param id
	 * @param name
	 * @param status
	 * @param createTime
	 */	
	public Category( long id, String name, int status, Date createTime, long idIcon )
	{
		super();
		this.id     	= id;
		this.name   	= name;
		this.status 	= status;
		this.createTime = createTime;		
		this.idIcon     = idIcon;
	}
	/**
	 * 
	 * @return id 
	 */
	public long getId() {
		return this.id;
	}
	
	/**
	 * @param id
	 */
	public void setId( long id ) {
		this.id = id;
	}
	
	/**
	 * 
	 * @return name 
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @param name
	 */
	public void setName( String name ) {
		this.name = name;
	}
	
	/**
	 * 
	 * @return status 
	 */
	public int getStatus() {
		return status;
	}
		
	/**
	 * @param status
	 */
	public void setStatus( int status ) {
		this.status = status;
	}
	
	/**
	 * 
	 * @return createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	
	/**
	 * @param createTime
	 */
	public void setCreateTime( Date createTime) {
		this.createTime = createTime;
	}
	
	public long getIdIcon()
	{
		return idIcon;
	}
	
	public void setIdIcon( long idIcon )
	{
		this.idIcon = idIcon;
	}
}
